package com.sugon;

import org.springframework.boot.Banner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @description:
 * @author: jichenglu
 * @create: 2019-09-02 14:52
 **/
@SpringBootApplication
@EnableSwagger2
@EnableScheduling
@ComponentScan("com.sugon")
public class Application implements CommandLineRunner {

    public static Map<String,Process> processMap = new HashMap<>();

    public static Map<String,String> urlMap = new LinkedHashMap<>();

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(Application.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }

    @Override
    public void run(String... strings) throws Exception {
    }
}
